package com.linhai.scm.entity.client;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import com.linhai.scm.entity.base.BaseBean;

/**
 * 客户收货地址身份证信息
 * @author linhai
 *
 */
@Entity
@Table(name="TB_ClientAddressIDCard")
public class ClientAddressIDCard  extends BaseBean implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private ClientAddress clientAddress;
	private String cardNo;
	private String cardImg;
	
	@OneToOne
	@JoinColumn(name = "clientAddressID")
	public ClientAddress getClientAddress() {
		return clientAddress;
	}
	
	@Column(name = "cardNo")
	public String getCardNo() {
		return cardNo;
	}
	
	@Column(name = "cardImg")
	public String getCardImg() {
		return cardImg;
	}
	
	public void setClientAddress(ClientAddress clientAddress) {
		this.clientAddress = clientAddress;
	}
	
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	
	public void setCardImg(String cardImg) {
		this.cardImg = cardImg;
	}
}
